package com.mercury.service;

import com.alibaba.fastjson.JSONObject;
import com.mercury.dao.IPcclassinfoDao;
import com.mercury.entity.Pcclassinfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PcclassinfoService {

    @Autowired
    IPcclassinfoDao pcclassinfoDao;

    public List<Pcclassinfo> SearchPcclassinfos(JSONObject json) {
        return pcclassinfoDao.SearchPcclassinfos(json.getInteger("InputAge"));
    }
}
